package com.zbf.tspring;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/22  8:29
 * 描述:
 */
@SpringBootApplication
@ComponentScan(basePackages ={"com.zbf"})
//开启异步调用
@EnableAsync
public class TestSpring {

    public static void main(String[] args) {

        SpringApplication.run(TestSpring.class,args);

    }

}
